package org.jeecg.modules.yw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("contract_attachments")
public class ContractAttachment {
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private String id; // 主键id

    @ApiModelProperty(value = "合同ID")
    private String contractId; // 合同id

    @ApiModelProperty(value = "附件存储路径或URL")
    private String attachmentPath; // 附件存储路径或URL

    @ApiModelProperty(value = "排序")
    private int sort; // 排序
}
